package com.yfp.common.core.constant;

/**
 * db常量
 *
 * 
 * @date 2023/12/15
 */
public class DbConstants {

    /**
     * false
     */
    public static final Boolean FALSE = false;
    /**
     * true
     */
    public static final Boolean TRUE = true;

    /**
     * 启用或者正常
     */
    public static final Integer ENABLE_NORMAL = 1;
    /**
     * 禁用或者异常
     */
    public static final Integer DISABLED_ABNORMAL = 0;
    /**
     * 资源类型img
     */
    public static final String RESOURCE_TYPE_IMG = "1";
    /**
     * 资源类型视频
     */
    public static final String RESOURCE_TYPE_VIDEO = "2";
    /**
     * 资源类型APK
     */
    public static final String RESOURCE_TYPE_APK = "3";



    public static class  advertisement{
        /**
         * 广告播放
         */
        public static final Integer AD_PLAING = 1;
        /**
         * 广告暂停
         */
        public static final Integer AD_SUSPEND = 0;


    }

    public static class  ImgType{

        /**
         * 封面图
         *
         */
        public static final Integer COVER_IMG = 1;
        /**
         * 详细图
         */
        public static final Integer DETAIL_IMG = 2;


    }

    public static class  ResourceType{

        /**
         * 视频
         *
         */
        public static final Integer VIDEO = 2;
        /**
         * 图片
         */
        public static final Integer PICTURE = 1;


    }



    /**
     * 设备相关常量
     *
     * 
     * @date 2023/12/15
     */
    public static class  machineCorrelation{
        /**
         * 启用或者正常
         */
        public static final Integer ENABLE_NORMAL = 1;
        /**
         * 禁用或者异常
         */
        public static final Integer DISABLED_ABNORMAL = 0;

        /**
         * 机器状态在线
         */
        public static final Integer MACHINE_STATUS_ONLINE = 1;
        /**
         * 机器状态离线
         */
        public static final Integer MACHINE_STATUS_OFFLINE = 0;

        /**
         * 设备类型-二代机
         */
        public static final Integer MACHINE_TYPE_ZHONGJI = 1;

        /**
         * 设备类型 -三代机
         */
        public static final Integer MACHINE_TYPE_SELF_DEV = 2;
        /**
         * APP版本- 未推送
         */
        public static final Integer NOT_PUSH = 0;
        /**
         * APP版本- 已推送
         */
        public static final Integer PUSHED = 1;
        /**
         * 广告类型 视频
         */
        public static final Integer AD_TYPE_VIDEO = 2;
        /**
         * 广告类型img
         */
        public static final Integer AD_TYPE_IMG = 1;
    }

}
